package fb4java.exception;


public class FB4JavaException extends Exception {

    private int errorCode;

    public FB4JavaException() {
        super();
    }

    public FB4JavaException(int errorCode, String message) {
        super(message);
        this.errorCode = errorCode;
    }

    public FB4JavaException(String message) {
        super(message);
    }

    public FB4JavaException(String message, Throwable cause) {
        super(message, cause);
    }

    public FB4JavaException(Throwable cause) {
        super(cause);
    }

    public int getErrorCode() {
        return errorCode;
    }
}
